package com.javaee.service;

import com.javaee.entity.User;

public interface UserService {
    //新增用户
    public boolean add(User user);
    //用户查询
    public User getById(int id);

    public User getByName(String name);
}
